.ProcessCenter {
  text-align: center;
}

/*
公共样式

*/
.common {
  position: relative;
  height: calc(100% - 65px);
  margin-top: 10px;
  padding-bottom: 40px;
  overflow: auto;
  scrollbar-width: none;

  &::-webkit-scrollbar {
    display: none;
    width: 0;
  }
}

.cardTitle {
  display: inline-block;
  margin: 0 10px;
  padding: 6px 10px;
  font-weight: lighter;
  font-size: 12px;
  line-height: 14px;
  border-radius: 4px;
}

.bigContainer {
  margin-bottom: 12px;
  border-radius: 0;

  .processTitle {
    flex: 1;
    overflow: hidden;
    color: #333;
    color: var(--inbiz-color-heading);
    font-size: 16px;
    line-height: 18px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .cardHeader,
  .cardBody,
  .cardFooter {
    display: flex;
    align-items: center;

    p {
      margin: 0;
      font-size: 12px;
    }
  }

  .cardHeader {
    padding: 0 25px;

    >p {
      flex: 1;
      overflow: hidden;
    }

    .userName {
      overflow: hidden;
      color: var(--inbiz-color-text);
      font-weight: bold;
      font-size: 14px;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .summary {
      width: 100%;
      color: var(--inbiz-color-text);
      font-size: 12px;
    }
  }

  .cardBody {
    justify-content: space-between;
    height: 30px;
    margin-top: 10px;
    padding: 0 25px;
    color: #707070;
    color: var(--inbiz-color-text);
    line-height: 30px;
  }

  .cardFooter {
    justify-content: space-between;
    height: 40px;
    padding: 0 25px;
    color: #707070;
    color: var(--inbiz-color-text);
    line-height: 40px;
    border-top: 1px solid #f6f6f6;

    >p:first-child {
      color: var(--inbiz-color-primary) !important;
    }
  }

  .adm-card-header {
    padding: 12px 25px;
  }

  .adm-card-body {
    padding: 0;
  }

  .adm-card-header-title {
    overflow: hidden;
    font-size: 16px;

    >div {
      display: flex;
      align-items: center;
    }
  }

  .adm-card-header:not(:last-child) {
    border-bottom: none;
  }
}

.smallContainer {
  .processTitle {
    font-size: 16px;
  }

  .summaryParent {
    height: 30px;
    margin-bottom: 0;
  }

  .summary {
    width: 345px;
    font-size: 12px;
  }

  .cardBody,
  .cardFooter {
    display: flex;
    justify-content: space-between;

    p {
      margin-bottom: 0;
      font-size: 12px;
    }
  }

  .cardBody {
    height: 30px;
    line-height: 30px;
  }

  .cardFooter {
    height: 35px;
    line-height: 35px;
    border-top: 1px solid #f6f6f6;
  }

  .adm-card-header:not(:last-child) {
    border-bottom: none;
  }
}

.operationFooter {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 50px;
  padding: 0 10px;
  line-height: 50px;
  background-color: #fff;
  box-shadow: 0 -3px 5px rgba(0, 0, 0, 0.1);

  >div:first-child {
    display: flex;
    align-items: center;
  }

  .selectedNumber {
    display: inline-block;
    max-width: 100px;
    overflow: hidden;
    color: #aaa;
    color: var(--inbiz-color-text);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .adm-button {
    height: 32px;
    margin-right: 10px;
    font-size: 14px;
    line-height: 14px;
  }

  .adm-button:last-child {
    margin: 0;
  }

  .adm-button-fill-none {
    padding: 0;
    font-size: 14px;
  }
}

/*
Home组件样式
*/
.homeContainer {
  position: relative;
  // margin-top: 5px;
  // z-index: 99;
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;

  .top {
    display: flex;
    padding: 0 15px 0 3px;

    .topTabs {
      width: calc(100% - 20px);

      .adm-tabs-header {
        border: none;
      }

      .adm-tabs-tab-active {
        color: var(--inbiz-color-primary);
      }
    }

    .rightList {
      position: relative;
      width: 20px;
      height: 37px;
      background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
    }

    .adm-tabs-tab {
      font-size: 16px;

      a {
        color: #000;
      }
    }

    .adm-tabs-tab-active {
      a {
        color: var(--inbiz-color-primary);
      }
    }

    .adm-input-wrapper {
      font-size: 16px;
    }
  }

  .condition {
    display: flex;
    justify-content: space-between;
    height: 40px;

    .ant-select {
      display: block;
    }

    .adm-dropdown-nav {
      height: 100%;
      border: none;
    }

    .ant-select,
    .ant-select-focused,
    .ant-select-single:not(.ant-select-customize-input),
    .ant-select-open {
      .ant-select-selector {
        border: none;
        border-right-width: 0;
        box-shadow: none;
      }
    }

    // .adm-dropdown-popup-body {
    //   height: 100%;
    //   overflow: auto;
    // }

    .adm-button {
      color: #949494;
      font-size: 12px;
    }

    .adm-dropdown,
    .adm-dropdown-nav {
      width: 100%;
    }

    .adm-dropdown-item {
      flex: 1 1 auto;
      align-items: center;
      justify-content: center;
      color: var(--inbiz-color-text);

      .adm-dropdown-item-title {
        display: flex;
        align-items: center;
        height: 22px;
        padding: 0 8px 0 15px;
        background-color: #f5f5f5;
        border-radius: 11px;

        &:active {
          opacity: 1;
        }

        .adm-dropdown-item-title-arrow {
          display: flex;
          align-items: center;
          transform: rotate(0deg);
        }

        .adm-dropdown-item-title-arrow.adm-dropdown-item-title-arrow-active {
          transform: rotate(-180deg);
        }
      }

      .adm-dropdown-item-title-text {
        font-size: 12px;
      }
    }
  }

  .adm-search-bar {
    --height: 36px;

    margin: 8px 15px;

    .adm-search-bar-input-box-icon {
      svg {
        color: #999;
      }
    }

    .adm-input-element {
      font-size: 14px;
    }
  }

  .adm-search-bar-active .adm-search-bar-input-box {
    background: #fff;
    border-color: transparent;
  }

  .adm-card {
    padding: 0;
  }

  .adm-card-body {
    color: var(--inbiz-color-text);
  }

  .adm-checkbox .adm-checkbox-icon {
    position: relative;
    right: 0;
    width: 18px;
    height: 18px;
  }

  .adm-card-header-title {
    overflow: hidden;
    color: var(--inbiz-color-heading);
    font-size: 16px;
  }
}

.searchDropdown {
  .adm-list-body {
    max-height: 400px;
    padding-bottom: 15px;
    overflow: auto;
    border: none !important;

    .adm-list-body-inner {
      margin-top: 0;
    }

    .adm-list-item {
      padding: 0 15px;
    }

    .adm-list-item-content {
      height: 44px;
      padding: 0 15px;
      background-color: transparent;
      border-top: none;
      border-radius: 6px;
    }

    .adm-check-list-item-active .adm-list-item-content {
      background-color: #f5f5f5;
    }
  }

  .adm-list-body .adm-list-item-content .adm-list-item-content-main {
    color: var(--inbiz-color-text) !important;
    font-size: 14px !important;
  }

  .adm-check-list-item-active .adm-list-item-content-main {
    color: var(--inbiz-color-primary);
  }

  .adm-check-list-item-extra {
    color: var(--inbiz-color-primary);
    font-size: 20px;
  }
}

.tabPopup {
  min-width: 50vw !important;

  .adm-list-body {
    border-top: none;
    border-bottom: none;
  }

  .adm-list-item {
    height: 44px;
    padding: 0;

    .adm-list-item-content {
      padding: 0;
      border-top: none;

      .adm-list-item-content-main {
        padding: 0;

        .tabs-popup-item {
          display: flex;
          align-items: center;
          height: 44px;
          padding: 0 20px;
          color: var(--inbiz-color-text);
          font-size: 16px;
        }

        .tabs-popup-item-active {
          color: var(--inbiz-color-primary);
          background-color: #f5f5f5;
        }
      }
    }
  }

  .adm-list,
  .adm-list-item-content {
    font-size: 16px;
    border-bottom: none;

    a {
      color: var(--inbiz-color-primary);
    }
  }
}